package interfazgrafikoak;

	import javax.swing.*;
	import java.util.*;
	public class AukeraZerrendak extends JFrame {
	  
		private static final long serialVersionUID = 1L;
		
		JCheckBox jCheck = new JCheckBox();
		
	Vector <String> elementuak = new Vector<String>();
	  JPanel jPanel1 = new JPanel();
	  JComboBox jComboBox1;//new gero egingo da

	  public AukeraZerrendak(){
		  
		elementuak.addElement("Java");
	    elementuak.addElement("Pascal");
	    elementuak.addElement("Cobol");
	    elementuak.addElement("Perl");
	    jComboBox1 = new JComboBox(elementuak);
	    jPanel1.add(jComboBox1, null);
	    this.getContentPane().add(jPanel1, null);
	    elementuak.addElement("LISP"); //Vector-en gehitze, JLIST-a aldatzen da!!
	    pack();
	  }
	  public static void main(String[] args){
	    AukeraZerrendak frame = new AukeraZerrendak();
	    frame.setVisible(true);
	    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	 }
	}